body {
  background: #efefef;
  margin: 0;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  ul,ol{
    list-style: none;
  }
  h1,h2,h3,h4,h5{
    font-weight: normal;
  }
  .clearfix::after {
    content: '';
    display: block;
    clear: both;
  }
  
  .topNavBar{
    padding: 20px 0px 20px ;
    position:fixed;
    width: 100%;
    transition: all 0.5s;
    color: #B7B7B7;
  }
  
  [data-x].active{
    outline: 10px solid red ;
  }
  [data-x].offset{
    transform: translateY(100px);
  }
  [data-x]{
    transform: translateY(0);
    transition:all 1s;
  }
  .topNavBar.sticky{
    background-color:white;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
    color:#3d4451;
  }
  .topNavBar-inner{
    padding: 0 16px 0 16px;
  }
  .topNavBar nav
 {
   padding-top: 5px;
 }
.topNavBar nav ul{
    list-style: none;
    margin:0;
    padding: 0;
    border-bottom-style: none;
}
.topNavBar nav>ul>li
{
    float: left;
    margin-left: 17px;
    margin-right:17px;
    position: relative;

}
.topNavBar nav ul li a{
    font-size: 12px;
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    border-bottom :3px solid transparent;
    padding-top:5px;
    padding-bottom: 5px;
    display: block;
    position: relative;
}
.topNavBar nav ul li.active a::after,
.topNavBar nav ul li.highlight a::after
{
    content: " ";
    display: block;
    position: absolute;
    top:100%;
    left:0;
    width: 100%;
    background:#E6686A;
    height: 3px;
    animation:menuSlide 0.1s;
}
@keyframes menuSlide{
  0%{
    width: 0;
  }
  100%{
    width: 100%;
  }
}
.topNavBar .submenu
{
  display: none;
  position: absolute;
  right:0;
  top:100%;
  background: white;
  color: #3d4451;

}
.topNavBar li.active> .submenu{
  display: block;
  animation:submenuSlide 0.3s;
}
@keyframes submenuSlide{
  0%{
    margin-right: 100%;
  }
  100%{
    margin-right: 0;
  }
}
.topNavBar .submenu>li{
  white-space:nowrap;
  padding:5px 10px
}
.rs{
    font-size: 24px;
    font-family: "Arial Black";
    margin-right: 4px;
    text-decoration: none;
    color:#E6686A;
    border-bottom-color: transparent;
}
.topNavBar .logo .card{
    font-family: "Arial Black";
    color: #9A9DA2;
  }
  .banner{
    height: 515px;
    background-image: url(./img/rs-cover.jpg);
    background-position: center center;
    background-size:cover;
  
  }
  .banner .mask{
    height:515px;
    background-color:rgba(0,0,0,0.7);
  
  }
  .usercard{
    border: 1px soild red;
    max-width: 940px; 
    background-color: #ffffff;
    margin-left: auto;
    margin-right: auto;

  }
  .usercard .welcome
  {
    background-color: #E6696A;
    color: white;
    padding: 5px 16px;
    line-height: 22px;
    display: inline-block;
    position: relative;
  }
.usercard .welcome .triangle
{
  border:10px solid transparent;
  width:0px;
  border-left-color:#E6696A;
  border-top-width: 0px;
  position: absolute;
  display: block;
  top:100%;
  left:4px;

}
.usercard .text
{
  float: left;
  padding-left:65px;
  width:470px;
}
.usercard .picture
{
  float:left;

}
.pictureandtext
{
  padding: 50px;
}
*{
  margin: 0px;
  padding: 0px;
}
.usercard .text .h1{
  margin-top:20px;
}
.hr{
  height: 0px;
  border:none;
  border-top:1px solid #DEDEDE;
  width: 100%;
}
.usercard dl dt,
.usercard dl dd{
  float: left;
  padding: 5px 0;

}
.usercard dl dt{
  width: 30%;
  font-weight: bold;
}
.usercard dl dd
{
  width: 70%;
  color:#9da0a7
}
.usercard .text hr{
  margin:20px 0px;
}
.media{
  background: #E6686A;
  text-align: center;
}
footer.media > a{
display: inline-block;
width:40px;
line-height: 30px;
padding: 5px 0;
border-radius: 50px;

}
footer.media > a:hover{
  background: #CF5D5F;

}

.media svg{
  height: 30px;
  width: 30px;
  fill:white;
  vertical-align: top;
}
body  > main
{
  margin-top: -340px;
}
main .downloadResume-wapper{
  text-align:center
}
body  main .downloadResume
{
font-size: 14px;
line-height: 16px;
padding: 21px 55px;
border: 1px solid #cdcfd1;
background: #efefef;
display: inline-block;
border-radius: 2px;
color: #3d4451;
font-weight: bold;
margin: 32px 0;
transition: box-shadow 0.2s;

}
body main .downloadResume:hover{
  box-shadow: 0px 6px 22px 0px rgba(0,0,0,0.5);
}
.selfIntroduction{
  text-align: center;
  max-width: 940px; 
    margin-left: auto;
    margin-right: auto;
    font-family: 华文行楷;
    line-height: 1.5;
    font-size: 20px;
}
section.skill,
section.portfolio{
  max-width: 940px; 
  margin-left: auto;
  margin-right: auto;
  margin-top:60px;
}
section.skill >h2,
section.portfolio >h2{
  text-align: center;
  color:#3d4451;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 600;
}
section.skill>ol{
  background: white;
  box-shadow: 0px 6px 22px 0px rgba(0,0,0,0.5);
  padding: 42px 50px 12px;
  margin-top:30px;

}
section.skill h3{
font-size: 14px;
line-height: 1.1;
padding-right:40px;
}
section.skill .progressBar{
  height: 5px;
  background: #FAE1E1;
  margin: 4px 0 40px;
}
section.skill .progressBar> .progress{
  height: 5px;
  width: 70%;
  background:  #E6686A;
  border-radius: 2px;

}
section.skill>ol>li{
  float: left;
  width:48%;
  border-radius: 2px;
}
section.skill > ol > li:nth-child(even)
{
  float: right;
}
section.portfolio{
  text-align: center;
}
section.portfolio>nav
{
    text-align: center;
    display: inline-block;
    vertical-align:top;
    margin-top:32px;
}
section.portfolio>nav>ol{

  margin: 0 auto;
  display: inline-block;
  vertical-align:top;

}
section.portfolio>nav>ol>li{
  float: left;
  margin-left: 40px;
  cursor: pointer;
}
section.portfolio > nav >ol>li:nth-child(1){
  margin-left: 0;
}
section.portfolio > nav .bar{

  background: white;
  margin-top:10px;
  margin-bottom: 28px;
  border-radius: 2px;
}
section.portfolio > nav .bar>.bar-inner
{
  height: 5px;
  background:#E6686A;
  width: 10%;
  border-radius: 2px;
  transition: all 0.3s;
}
section.portfolio > nav .bar.state-1>.bar-inner{
  margin-left: 0;
  width:50px;
}
section.portfolio > nav .bar.state-2>.bar-inner{
  margin-left: 65px;
  width:50px;
}
section.portfolio > nav .bar.state-3>.bar-inner{
  margin-left: 140px;
  width:96px;
}
section.portfolio .works{
  position: relative;
}
section.portfolio .works > .big,
section.portfolio .works > .small {
  position: absolute;
}